import http from '../utils/request.js'

// 飞机场-查询
export function getPlane(data) {
	return http({
		url: '/airplane/list',
		method: 'GET',
		data
	})
}

// 飞机场-注入能量
export function putPlane(data) {
	return http({
		url: '/airplane/injectEnergy',
		method: 'POST',
		data: data
	})
}

// 飞机场-合成
export function airSynthesis(data) {
	return http({
		url: '/airplane/airSynthesis',
		method: 'POST',
		data: data
	})
}

// 飞机场-合成石
export function getStone(data) {
	return http({
		url: '/backpack/syntheticMalist',
		method: 'GET',
		data: data
	})
}

// 飞机场-查询
export function getMsg(data) {
	return http({
		url: '/airplane/airSynthesisList',
		method: 'GET',
		data: data
	})
}

// 全部贡献度
export function allDegree(data) {
	return http({
		url: '/friend/allDegree',
		method: 'GET'
	})
}

// 直推好友分页列表
export function directReferral(data) {
	return http({
		url: '/friend/directReferral',
		method: 'GET',
		data: data
	})
}

// 间推好友分页列表
export function indirectReferral(data) {
	return http({
		url: '/friend/indirectReferral',
		method: 'GET',
		data: data
	})
}

// 达标等级查询
export function myUserLevel(data) {
	return http({
		url: '/My/myUserLevel',
		method: 'GET',
		data: data
	})
}

// 我的上级
export function MySuperior() {
	return http({
		url: '/friend/MySuperior',
		method: 'GET'
	})
}
